const filterOption = {
	items: [{
			label: "盘点仓库",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryLocation"
		},
		{
			label: "盘点状态",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryStatus"
		},
		{
			label: "创建人",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createBy"
		},
		{
			label: "提交人",
			type: "dropdown",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitter"
		},
		{
			label: "开始盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryStart"
		},
		{
			label: "结束盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryEnd"
		},
		{
			label: "创建盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "create"
		},
		{
			label: "提交盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "submitInventory"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const path = ['门店管理', '盘点管理', '包材盘点'];
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 0,
	pageSizeArr: [10, 20, 30, 40]
};
const configArr = [{
		color: "brown",
		label: "全部盘点任务",
		value: "type1",
		count: 0
	},
	{
		color: "green",
		label: "未开始",
		value: "type2",
		count: 0
	},
	{
		color: "yellow",
		label: "盘点中",
		value: "type2",
		count: 0
	},
];
const dialogForm = {
	payMethod: undefined,
	serialNumber: undefined,
	paymentMoney: undefined,
	payTime: undefined,
}

let Model = {
	data() {
		return {
			Model: {
				path,
				pager,
				filterOption,
				defaultFilterOption: filterOption,
				configArr,
				dialogForm,
				dialogFormVisible: false,
				nowSelectId: undefined,
				tableData: [{
					number: 1
				}],
				filterOptionData: undefined,
				saleManList: {},
				saleAfterOrderStatus: {},
				selectionList: [],
				searchFromData:{},
				defaultSearchFromData: {},
				// tableData: undefined,
				activeTab: '1',
				detailDialogFlag: false
			}
		}
	}
}
export default Model;
